package com.hmkj.core.po.wx;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 微信公众号关键字回复实体信息<br>
 *
 * @author Vector
 * @date   2017-10-18 10:04:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "微信公众号关键字回复")
@Table(name = "wx_keyword_reply")
public class WxKeywordReply extends GenericPo<Integer> {

    public static final String TABLE_NAME = "wx_keyword_reply";

	
	/**回复关键字**/
	@ApiModelProperty(value = "回复关键字")
	private String keyword;
	/**回复主题**/
	@ApiModelProperty(value = "回复主题")
	private String title;
	/**是否启用1启用，2不启用**/
	@ApiModelProperty(value = "是否启用1启用，2不启用")
	private Integer status;
	/**回复素材编号**/
	@ApiModelProperty(value = "回复素材编号")
	private Integer replyId;
	/**所属微信公众号编号**/
	@ApiModelProperty(value = "所属微信公众号编号")
	private Integer wxId;
	/**备注**/
	@ApiModelProperty(value = "备注")
	private String remark;

    public WxKeywordReply(){}

    public WxKeywordReply(Consumer<WxKeywordReply> consumer){
    consumer.accept(this);
    }
}

